package org.aynu.propertyservice.service;

import org.aynu.propertyservice.common.PropertyResponse;
import org.aynu.propertyservice.domain.RepairRequestsPo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.sql.Timestamp;
import java.util.List;

/**
 * <p>
 * 维修请求表 服务类
 * </p>
 *
 * @author 小粥
 * @since 2025-03-03
 */
public interface IRepairRequestsService extends IService<RepairRequestsPo> {

    PropertyResponse<List<RepairRequestsPo>> selectResident(Integer userId);


    PropertyResponse<Integer> updateRequest(Integer requestId, String status, Integer assignedTo, Timestamp resolvedAt);
}
